import request from '@/utils/request';


export async function queryRule(params) {
  const limit = params.pageSize;
  const page = params.current;
  const my_params = {
    limit: limit,
    page: page,
    monthId: params.id,
  };
  Object.assign(params, my_params);
  delete params.current;
  delete params.pageSize;
  return request('integral/integralDayRecord/page', {
    params,
  });
}
export async function getPayOrder(params) {
  return request(`pay/order/${params}`, {
    method: 'GET',
  });
}

export async function repIntegra(params) {
  return request(`integral/integralDayRecord/rep`, {
    method: 'POST',
    params,
  });
}
